<%@ page language="java" pageEncoding="utf-8"%>
<%@page import="java.util.List"%>
<%@page import="com.nobody.facepk.model.Picture"%>
<%@page import="com.nobody.facepk.utils.PictureUtils"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ page isELIgnored="false"%>
<%
List<Picture> pictures = (List<Picture>)request.getAttribute("pictures");
for(Picture picture :pictures){
%>
<a href="vote.jsp?pictureId=<%=picture.getId()%>"><img src="<%=PictureUtils.getPicturePath(picture)%>" width="200" height="200"/></a><br>
得分:<%=picture.getScore() %> 已有<%=picture.getVoteCount() %>人打分<BR/>
<%
}
%>